from Calc import Calc
from unittest import TestCase
class TestCalc1(TestCase):

    def testMinus(self):
        a = 6
        b = -7
        s = 13

        calc = Calc()
        sum = calc.minus(a,b)

        self.assertEqual(s,sum)

    def testMinus2(self):
        a = -6
        b = 7
        s = -13

        calc = Calc()
        sum = calc.minus(a, b)

        self.assertEqual(s, sum)

    def testMinus3(self):
        a = 6
        b = 7
        s = -1

        calc = Calc()
        sum = calc.minus(a, b)

        self.assertEqual(s, sum)

    def testMinus4(self):
        a = -6
        b = -7
        s = 1

        calc = Calc()
        sum = calc.minus(a, b)

        self.assertEqual(s, sum)



    def testMinus5(self):
        a = 0
        b = -7
        s = 7

        calc = Calc()
        sum = calc.minus(a, b)

        self.assertEqual(s, sum)


    def testMinus6(self):
        a = 10000000000000000000000000000000000000000000000000000000000000000000000000000000000
        b = -7
        s = 10000000000000000000000000000000000000000000000000000000000000000000000000000000007

        calc = Calc()
        sum = calc.minus(a, b)

        self.assertEqual(s, sum)